*{
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
.clear:after{
    content: "";
    display: block;
    clear: both;
}
.box{
    width: 1200px;
    margin: 50px auto;
    border: 5px solid #f00;
}
.goods{
    position: relative;
    width: 270px;
    height: 300px;
    float: left;
    text-align: center;
    margin-right: 30px;
    margin-bottom: 30px;
    border: 1px solid #333;
}
.box .noMarginRight{
    margin-right: 0;
}
.goods img{
    margin-top: 50px;
}
.goods div{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 25px;
    background-color: rgba(72,71,68,0.7);
    color: #fff;
}
.goods:hover div{
    height: 175px;
    padding-top: 125px;
    font-size: 20px;
}